package org.csu.bbs.service;

import org.csu.bbs.entity.Collection;
import org.csu.bbs.result.BetterResult;
import org.csu.bbs.result.Result;

public interface CollectionService {
    Result deleteCollection(String userid,String postid);
    Result addCollection(Collection collection);
    Collection iscollectioned(String userid,String postid);
    BetterResult<Integer> GetPostStars(Integer pid);
}
